package com.base.thread.ch20;

/**
 * Created by xingyuchao@zto.cn on 2017-12-20.
 */
public class TestException extends BusincessException {

    private Integer code;

    private String msg;

    public TestException(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}